package start.demo2learn.return2;

public class Task01 {

    public static void main(String[] args){
        long c=test(5);
        System.out.println(c);
    }
    public static long test(long num){
        if(num==1)
            return 1;
        return num*test(num-1);
    }
}
